import service from "../utils/service.js";
import type {IBanner} from  "../MyTs/index"
//获取轮播图数据
export const getBannerApi = () => service.get("admin/banner/list");
//添加轮播图数据
export const getAddBannerApi = (data:IBanner) => service.post("admin/banner/add", data);
//删除图片
export const getDeleteBannerApi = (bannerid={}) => service.get("admin/banner/delete", {params:bannerid});